broadway: Correct handling of opaque colors
authorAlexander Larsson <alexl@redhat.com>
Wed, 26 Aug 2020 10:18:28 +0000 (12:18 +0200)
committerAhmed Eldemery <aeldemery.de@gmail.com>
Fri, 28 Aug 2020 16:45:01 +0000 (18:45 +0200)
commita97ea17c926c80b16e18485e4fee034fda9e7544
treeccf59bb501d36cf1ebeb2d4d6135b48ae7dddcd0
parent67f259cd1a9e1d8e63aa9acf6978253a7e59f895
broadway: Correct handling of opaque colors

If alpha is 255, we use rgb() instead of rgba(), not if alpha is 0.
This makes the title bar gradient go from fully transparent to blue
rather than black to blue..
gdk/broadway/broadway.js